<template>
<div class="btn-return" @click="returnBack">{{btnName}}</div>
</template>

<script>
export default {
  name: 'buttonReturn',
  data () {
    return {
    }
  },
  props: {
    btnName: String
  },
  methods: {
    returnBack () {
      history.back(1)
    }
  }
}
</script>

<style lang="scss" scoped>
@import "~css/fglz.scss";
  .btn-return{
    display: inline-block;
    @include container-width-height(70px,35px);
    background: $color-gray-item7;
    line-height: 35px;
    @include text-variant(14px,$color-gray-item1,center);
    border-radius: 5px;
  }
</style>
